package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.bean.Setmeal;
import com.itheima.reggie.dto.SetmealDto;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: 许志民
 * Date: 2021-11-24
 */
public interface SetmealService extends IService<Setmeal> {
    void addSetmeal(SetmealDto setmealDto);

    Page<SetmealDto> getPage(Integer page, Integer pageSize, String name);

    boolean deleteIds(Long[] ids);

    boolean updateStatus(Integer status, Long[] ids);

    SetmealDto getSetmealDto(Long id);

    boolean updateSetmeal(SetmealDto setmealDto);

    List<Setmeal> findList(Setmeal setmeal);

    SetmealDto setmealDish(Long id);
}
